﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ParamSetCollection.Devices.CodeScanner
{
    abstract class Scanner
    {



        public virtual event OnRawCodeEventHandler OnRawCodeEvent;

        public virtual event OnValidCodeEventHandler OnValidCodeEvent;

        public virtual event OnErrorMsgEventHandler OnErrorMsgEvent;

        public virtual string FilterCode { get; set; }
        public virtual bool SameCodeFilter { get; set; }

        public abstract void Start();
        public abstract void Stop();

        public virtual void SoftTriggerStart(string cmd)
        {

        }

        public virtual void SoftTriggerStop(string cmd)
        {

        }


    }

}
